replace multiple spaces with single space python

126

replace multiple spaces with single space python -

' '.join(myString.split())

Comments

Submit
0 Comments